package com.cbgolf.oa.adapter.recycle;

import android.app.Activity;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import com.cbgolf.oa.adapter.recycle.StatisticsAdapter.Holder;
import com.cbgolf.oa.util.ViewUtils;

public class StatisticsAdapter extends RecyclerView.Adapter<Holder>{

  private Context context;

  public StatisticsAdapter(Context context) {
    this.context = context;
  }

  @NonNull
  @Override
  public Holder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
    return new Holder(ViewUtils.inflate((Activity) context,viewType));
  }

  @Override
  public void onBindViewHolder(@NonNull Holder holder, int position) {

  }

  @Override
  public int getItemCount() {
    return 0;
  }

  static class Holder extends RecyclerView.ViewHolder {

    public Holder(View itemView) {
      super(itemView);
    }
  }

}
